package constraint;

public class AbstractConstraint {
    private VariableExpression first;
    private VariableExpression second;
    
    public AbstractConstraint(Variable first, Variable second) {
        this.first = new VariableExpression(first);
        this.second = new VariableExpression(second);
    }

    public AbstractConstraint(VariableExpression first2,
            VariableExpression second2) {
        this.first = first2;
        this.second = second2;
    }

    public Constraint copy() {
        Constraint constraint = (Constraint) new AbstractConstraint(first, second);
        return constraint;
    }
}
